package com.ruoyi.system.service.impl;

import com.ruoyi.common.core.domain.entity.TrainPlace;
import com.ruoyi.system.mapper.TrainPlaceMapper;
import com.ruoyi.system.service.TrainPlaceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 驾校场地 服务实现
 *
 * @author ruoyi
 */
@Service
public class TrainPlaceServiceImpl implements TrainPlaceService {

    @Autowired
    TrainPlaceMapper placeMapper;
    /**
     * 根据驾校id查询驾校场地
     *
     * schoolId  驾校id
     */
    @Override
    public List<TrainPlace> selectPlaceBySchoolId(String schoolId) {
        return placeMapper.selectPlaceBySchoolId(schoolId);
    }


}
